package com.caowei.weicimpress.weicimpress.widget;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by caoweiPc on 2014/7/17.
 */
public class ActionItem {
    private Map<String,Object> extra=new HashMap<String, Object>();
    private int icoId;
    private String menuName;
    private Callback callback;
    public int getIcoId() {
        return icoId;
    }

    public void setIcoId(int icoId) {
        this.icoId = icoId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Callback getCallback() {
        return callback;
    }

    public void setCallback(Callback callback) {
        this.callback = callback;
    }

    public void putExtra(String k,Object v){
        extra.put(k,v);
    }

    public Object getExtra(String k){
        return extra.get(k);
    }


    public interface Callback{
        public void callback(Object ... params);
    }

}
